//
//  HZPopMenuView.h
//  HZTC_YaDeArt
//
//  Created by MayerF on 17/4/5.
//  Copyright © 2017年 HZTC. All rights reserved.
//
//  *************** 显示发售编号和认购时间

#import <UIKit/UIKit.h>

@interface HZPopMenuModel : NSObject
@property (nonatomic, copy)NSString *model_name;
@property (nonatomic, assign)BOOL isShowImage;
@end

@interface HZPopMenuCell : UITableViewCell
+ (HZPopMenuCell *)cellTableView:(UITableView *)tableView
                                 indexPath:(NSIndexPath *)indexPath
                                 cellModel:(HZPopMenuModel *)cellModel
                                 cellHight:(CGFloat)cellHight;
@end

@protocol HZPopMenuViewDelegate <NSObject>
- (void)popMenuViewDidSelectedRowWithContent:(NSArray *)content;
@end

@interface HZPopMenuView : UIView
@property (nonatomic, weak)id<HZPopMenuViewDelegate> delegate;
@property (nonatomic, strong)NSArray<NSString *> *titleArray;
@property (nonatomic, strong)NSArray<NSArray<HZPopMenuModel *> *> *contentArray;
//刷新选中列的名称
- (void)refreshContentData:(NSArray<NSString *> *)contentData
                     index:(NSInteger)index;
//重置成初始化状态
- (void)resetOrigitState;
//获取状态
- (NSArray *)getTitleArray;
//更新某个title
- (void)updateTitle:(NSString *)title index:(NSInteger)index;
@end
